* {
  margin: 0;
  padding: 0;
}
html body {
  width: 1366px;
  padding: 0 95px;
  margin: 0 auto;
  p {
    margin: 0;
    padding: 0;
  }
  li,ol {
    list-style: none;
  }
  a {
    text-decoration: none;
  }
}
.box {
  // margin: 0 95px 0 95px;
  background-color: #fff;
}
.header {
  width: 100%;
  height: 95px;
  background-color: white;
  // .header_nav{
  //   width: 100%;
  display: flex;
  justify-content: space-between;
  .header_logo {
    width: 30%;
    background-image: url(../img/logo.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 10px 16px;
  }
  .header_search {
    // background-color: blue;
    width: 50%;
    text-align: center;
    padding: 0;
    input {
      width: 50%;
      height: 40px;
      margin: 0;
      margin-top: 19px;
      margin-left: 6px;
      padding-left: 10px;
      background-color: whitesmoke;
      border-radius: 5px 0 0 5px;
      border: none;
      &:focus-visible {
        outline: 0;
      }
    }

    button {
      width: 20%;
      height: 40px;
      border: none;
      background-color: #bf2c24;
      border-radius: 0px 5px 5px 0px;
      a{
        color: black;
      }
      &:focus {
        border: none;
        outline: 0;
      }
    }
  }
  .login {
    width: 30%;
    text-align: right;
    font-size: 14px;
    margin-top: 30px;
    > a {
      display: inline-block;
      margin-right: 5px;
      color: black;
    }
  }
}
//****header   end
.zdy-nav {
  height: 30px;
  background-color: #666;
  .nav-box {
    display: flex;
    justify-content: space-between;
    font-size: 22px;
    > div:nth-child(1) {
      color: white;
      width: 20%;
      padding-left: 10px;
    }
    > div:nth-child(2) {
      width: 72%;
      a {
        padding-right: 15px;
        color: white;
      }
    }
    > div:nth-child(3) {
      a {
        float: right;
        padding-right: 10px;
        color: white;
      }
    }
  }
}
//*******************************  以上为nav
.body {
  display: flex;
  justify-content: space-between;
  .type-ul {
    margin: 0;
    width: 20%;
    height: 310px;
    li {
      height: 60px;
      line-height: 60px;
      text-align: center;
      a {
        color: black;
        background-repeat: no-repeat;
        padding-left: 25px;
        background-image: url(../img/sm-log.png);
        &:hover {
          color: #d60a0a;
        }
      }
    }
    li:nth-child(1) {
      a:nth-child(1) {
        background-position: 0 -14px;
        padding-right: 10px;
        &:hover {
          background-position: 0 -64px;
        }
      }
      a:nth-child(2) {
        background-position: 0 -114px;
        &:hover {
          background-position: 0 -164px;
        }
      }
    }
    li:nth-child(2) {
      a:nth-child(1) {
        background-position: 0 -214px;
        padding-right: 10px;
        &:hover {
          background-position: 0 -264px;
        }
      }
      a:nth-child(2) {
        background-position: 0 -314px;
        &:hover {
          background-position: 0 -364px;
        }
      }
    }
    li:nth-child(3) {
      a:nth-child(1) {
        background-position: 0 -414px;
        padding-right: 10px;
        &:hover {
          background-position: 0 -464px;
        }
      }
      a:nth-child(2) {
        background-position: 0 -514px;
        &:hover {
          background-position: 0 -564px;
        }
      }
    }
    li:nth-child(4) {
      a:nth-child(1) {
        background-position: 0 -614px;
        padding-right: 10px;
        &:hover {
          background-position: 0 -664px;
        }
      }
      a:nth-child(2) {
        background-position: 0 -714px;
        &:hover {
          background-position: 0 -764px;
        }
      }
    }
    li:nth-child(5) {
      a:nth-child(1) {
        background-position: 0 -814px;
        padding-right: 10px;
        &:hover {
          background-position: 0 -864px;
        }
      }
      a:nth-child(2) {
        background-position: 0 -914px;
        &:hover {
          background-position: 0 -964px;
        }
      }
    }
  }
  //****以上是左边分类
  .big-carousel {
    width: 62%;
    margin: top 5px;
  }
  .new-rel {
    width: 18%;
    h4 {
      text-align: center;
      margin: 5px 0;
      font-weight: 900;
    }
    .rel-name {
      text-align: center;
      font-size: 18px;
    }
    p {
      padding-bottom: 5px;
    }
  }
}
//*******以上是body内容
.tail-left {
  width: 48%;
  padding-left: 8px;
  > h4 {
    padding-bottom: 8px;
    margin: 0;
    border-bottom: 1px solid #333;
    margin-right: 30px;
  }
  .left-recommend {
    font-size: 13px;
    margin: 0px;
    li {
      border-bottom: 1px solid #999;
      padding: 7px 0;
      margin-right: 30px;
      .left-recommend-type {
        color: #666;
      }
      .left-recommend-book {
        color: black;
      }
      span {
        font-size: 12px;
        color: #666;
      }
    }
  }
}

//*****以上是尾部左边
.tail {
  display: flex;
  justify-content: space-between;
  .tail-center {
    .tail-center-tit {
      padding-bottom: 8px;
      border-bottom: 1px solid #333;
      margin-right: 30px;
    }
    .tail-center-content {
      display: flex;
      flex-wrap: wrap;
      .recommend {
        width: 50%;
        display: flex;
        box-sizing: border-box;
        .rec-img{
          img{
            width: 90px;
            height: 120px;
          }
        }
        .rec-content {
          margin-left: 10px;
          h5 {
            font-size: 18px;
            height: 30px;
          }
          p {
            font-size: 12px;
            height: 60px;
            
          }
          div {
            height: 30px;
            span {
              font-size: 12px;
            }
          }
        }
      }
    }
  }
  .tail-right {
    width: 47%;
    > div {
      h4 {
      padding-bottom: 8px;
      border-bottom: 1px solid #333;
      margin-right: 30px;
      }
    }
    .tail-right-athor {
      .athor {
        .athor-n-i{
          display: flex;
          justify-content: space-between;
          .athor-name {
            width: 50%;
            font-size: 12px;
            h5 {
              font-size: 16px;
              font-weight: 900;
            }
            p{
              padding-bottom: 10px;
            }
            h6{
              font-size: 12px;
              color: #888;
              margin-bottom: 5px;
            }
          }
          .athor-img {
            img{
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 10px;
            }
          }
        }
        .athor-dbz{
          font-size: 12px;
          padding-bottom: 10px;
        }
      }
    .athor-introduce{
      font-size: 12px;
      color: #888;
      padding-bottom: 24px;
    }
    }
   }
}
//**以上是尾部中间

// 页尾的css
.foot {
  width: 100%;
  height: 95px;
  background-color: #f0f0f0;
  font-size: 14px;
  line-height: 95px;
  text-align: center;
}
.footgray a {
  color: #666;
  margin-left: 6px;
}
.footgray a:hover {
  color: #d60a0a;
}
.footgray span {
  color: #dbd9d9;
  margin-left: 6px;
}
